package com.tianji.promotion.service;

import com.tianji.promotion.domain.po.CouponScope;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 优惠券作用范围信息 服务类
 * </p>
 *
 * @author LYQ
 * @since 2024-07-03
 */
public interface ICouponScopeService extends IService<CouponScope> {

    /**
     * 删除对应优惠券Id的课程绑定关系表数据
     * @param couponId
     */
    void removeByCouponId(Long couponId);

    /**
     * 查到对应couponId 的BizIds
     * @param couponId
     */
    List<Long> getBizIdsByCouponId(Long couponId);
}
